<?php

/*INSERT INTO  `bbs_1`.`n1` (
`id` ,
`username` ,
`sex` ,
`imgurl` ,
`content` ,
`m_date`
)
VALUES (
NULL ,  '',  '',  '',  '',  ''
);
 * 
 * 

*/
header("content-type:text/html;charset=utf-8");

require_once '20161010_1.php';

//print_r($_GET);
//die;

$id =  isset($_GET['id'])?$_GET['id']: 0;

$sql = "
delete from n1
where id=$id
";

//echo $sql;
//print_r($sql);
//die;



$result = $conn->query($sql);
if($result===false){
echo '连接失败';
}
else {
    header("Location:index.php");
}
 







?>
